package com.bestcem.xm.ticket.service.manager.record.param;

import com.bestcem.xm.ticket.enums.TicketEventEnum;
import lombok.*;

/**
 * 工单系统处理记录 工具类方法入参
 *
 * @author XiaoYunSong <ys.xiao@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/18 16:09
 */
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Data
public class SystemTicketRecordParam extends BaseTicketRecordParam {
    /**
     * followerInfo，跟进人详情，格式：{group_level.title}-{role.title}
     */
    private String followerInfo;

    /**
     * forbiddenPublish
     */
    private boolean forbiddenPublish;

    /**
     * 关闭原因
     */
    private String reason;

    private Integer ticketStatus;


    /**
     * event
     */
    @Override
    public TicketEventEnum getEvent() {
        return TicketEventEnum.SYSTEM_CLOSED;
    }
}
